// woyaocansai.less
// header
.header {
  width: 100%;
  padding: 68/32rem 0 43/32rem;
  box-sizing: border-box;
  text-align: center;
  .header-box {
    display: inline-block;
    text-align: left;
    .header-left {
      width: 87/32rem;
      height: 87/32rem;
      border-radius: 50%;
      border: 1px solid red;
      overflow: hidden;
      float: left;
      > input {
        width: 100%;
        height: 100%;
      }
    }
    .header-right {
      width: 100%;
      padding-left: 111/32rem;
      padding-top: 12/32rem;
      > input {
        display: block;
        margin-top: 0;
        margin-bottom: 13/32rem;
        font-size: 13px;
        background-color: transparent;
      }
      > span {
        font-size: 23/32rem;
      }
    }
  }
}

// main
.main {
  width: 100%;
  padding: 0 17/32rem;
  box-sizing: border-box;
  .main-box {
    width: 100%;
    padding: 37/32rem 0 37/32rem 17/32rem;
    background-color: #fff;
    border-radius: 3px;
    box-sizing: border-box;
    .main-box-top {
      position: relative;
      > span {
        color: #A4A4A4;
        font-size: 24/32rem;
        float: left;
        & + textarea {
          width: 391/32rem;
          height: 171/32rem;
          outline: none;
          border: none;
          border-radius: 5px;
          margin-left: 1rem;
          padding: 15/32rem;
          box-sizing: border-box;
          background-color: #F3F3F3;
          & + i {
            position: absolute;
            bottom: 15/32rem;
            left: 14.4rem;
            color: #ADADAD;
            font-size: 15/32rem;
            > b {
              font-weight: normal;
              color: #617AF9;
            }
          }
        }
      }
    }
    .main-box-bottom {
      margin-top: 37/32rem;
      position: relative;
      > span:first-of-type {
        color: #A4A4A4;
        font-size: 24/32rem;
        float: left;
      }
      .add-img {
        width: 152/32rem;
        height: 152/32rem;
        border-radius: 2px;
        float: left;
        margin-left: 1rem;
        border: 1px dashed #BFBFBF;
        text-align: center;
        position: relative;
        > span {
          font-size: 60/32rem;
          color: #BFBFBF;
          margin-top: 26/32rem;
          display: block;
        }
        > b {
          display: block;
          color: #BFBFBF;
          font-size: 19/32rem;
          font-weight: normal;
        }
        input {
          width: 100%;
          height: 100%;
          position: absolute;
          left: 0;
          top: 0;
          opacity: 0;
          -ms-filter: 'alpha(opacity=0)';
        }
      }
    }
    .img-box {
      min-height: 120/32rem;
      > li {
        float: left;
        line-height: 1;
        margin-top: 1rem;
        margin-right: 5px;
        overflow: hidden;
        border-radius: 5px;
        &.caution {
          font-size: 22/32rem;
        }
        > img {
          width: 88/32rem;
          height: 88/32rem;
          display: block;
        }
      }
    }
  }
}

// footer
.footer {
  width: 100%;
  padding: 0 20/32rem;
  margin-top: 37/32rem;
  box-sizing: border-box;
  > #postfiles {
    color: #fff;
    font-size: 28/32rem;
    width: 100%;
    height: 77/32rem;
    background-color: #617AF9;
    border-radius: 5px;
    -webkit-appearance: none; // 使盒子更像按钮
    -webkit-touch-callout: none;  /*禁止文本选中*/
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    &:active {
      background-color: #779df9;
      box-shadow: 0px 0px 3px 3px #ddd;
    }
  }
  .footer-text {
    width: 100%;
    padding: 37/32rem 27/32rem 102/32rem;
    box-sizing: border-box;
    font-size: 22/32rem;
    h3 {
      color: #617AF9;
      margin-bottom: 8/32rem;
    }
    p {
      line-height: 35/32rem;
    }
  }
}